Make the server work with custom initial issuance prevout (liquid feature)#176
Make the server work with custom initial issuance prevout (liquid feature)#176enaples wants to merge 1 commit into
Conversation
|
please rebase |
|
I don't like the global I wonder, perhaps it would be cleaner to handle the initial issuance output using a dummy zero-value txo db entry instead? Also, the CLI parameter is called Edit: actually |
…neric test chain with same parameters of testnet)
| }; | ||
|
|
||
| #[cfg(feature = "liquid")] | ||
| if let Some(prevtx) = config.initial_issuance_prevtx { |
There was a problem hiding this comment.
The code looks good, but I'm not sure Store::open() is the right place for this. I wouldn't expect it to mutate the DB.
How about moving this to Indexer::open()?
In order to do not rely on liquid testnet faucets and do not wait for pegin/out time of liquid test network to test mobile/desktop application, it would be awesome to index custom elements sidechains. In order to do that, the hard-coded regtest/testnet issuance prevout must be overcame and be able to set via CLI option.
Possible related issue: #125